# coding: utf-8

import unittest

class Test(unittest.TestCase):	
	def testParser(self):
		
		from tfct.tdl.parser import TDLParser
		
		p = TDLParser()
		tdl = p.run_text('''TESTCASE TC1_1. LogginToTheSystem
PRECONDITION TC3_1
    TESTSTEP UC1.2(LoginView):
        CHECK Haslo="OK"
        CHECK User="User"
        CHECK User="User2"''')
		
		print tdl.as_text();
		
		
#if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testCreate']
unittest.main()
